import request from '@/utils/request'

//头表工单数据
export function listStopReason(query) {
  return request({
    url: '/production/stop_reason',
    method: 'get',
    params: query
  })
}


//分析
export function editStopReason(data) {
  return request({
    url: '/production/stop_reason/edit',
    method: 'put',
    params: data
  })
}


// 导出
export function exportStopReason(query) {
  return request({
    url: '/production/stop_reason/export',
    method: 'get',
    params: query
  })
}
